<script>
    var originUserUrl,eip
    const level = '638'
    if (level === 'debug') {
        originUserUrl = 'http://192.168.1.8:8601'
        eip='http://192.168.1.204:8080'
    } else if (level === '308') {
        originUserUrl = 'http://192.168.1.8:8087'
        eip='http://192.168.1.8:18080'
    } else if (level === '345') {
        originUserUrl = 'http://192.168.1.9:8087'
        eip='http://192.168.1.206:8080'
    } else if (level === '32') {
        originUserUrl = 'http://9.17.3.29:8601'
        eip='http://9.17.4.102:8080'
    } else if (level === '32local') {
        originUserUrl = 'http://9.17.3.29:8601'
        eip='http://9.17.0.223:8080'
    } else if (level === '638') {
        originUserUrl = 'http://192.168.1.100:8601'
        eip='http://192.168.1.115:8080'
    }

       
    const baseUserUrl = originUserUrl
    const verifyUrl = baseUserUrl
    function isManager (syscode) {
        return localStorage.getItem('permissions').indexOf(syscode + '*') > -1
    }
    export default {
        verifyUrl,
        baseUserUrl,
        eip,
        isManager
    }
</script>
